package com.zyf.mvc.mapper;

import com.zyf.mvc.pojo.ZyfMenu;
import com.zyf.mvc.pojo.ZyfMenuExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface ZyfMenuMapper {
    int countByExample(ZyfMenuExample example);

    int deleteByExample(ZyfMenuExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(ZyfMenu record);

    int insertSelective(ZyfMenu record);

    List<ZyfMenu> selectByExample(ZyfMenuExample example);

    ZyfMenu selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") ZyfMenu record, @Param("example") ZyfMenuExample example);

    int updateByExample(@Param("record") ZyfMenu record, @Param("example") ZyfMenuExample example);

    int updateByPrimaryKeySelective(ZyfMenu record);

    int updateByPrimaryKey(ZyfMenu record);
}